Optimal. Leaf size=476 \[ -\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b e^2 \left (8 c^2 d+e\right ) x \left (1-c^2 x^2\right )}{32 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e^3 x^3 \left (1-c^2 x^2\right )}{16 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \text {ArcSin}(c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3 b e^2 \left (8 c^2 d+e\right ) \sqrt {-1+c^2 x^2} \tanh ^{-1}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{32 c^4 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b d^2 e \sqrt {1-c^2 x^2} \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \text {ArcSin}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \text {PolyLog}\left (2,e^{2 i \text {ArcSin}(c x)}\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.17, antiderivative size = 476, normalized size of antiderivative = 1.00, number of steps
used = 18, number of rules used = 19, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.905, Rules used = {272, 45,
5958, 12, 6874, 1624, 1821, 1598, 470, 327, 223, 212, 2365, 2363, 4721, 3798, 2221, 2317, 2438}
\begin {gather*} -\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+3 d^2 e \log (x) \left (a+b \cosh ^{-1}(c x)\right )+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \text {Li}_2\left (e^{2 i \text {ArcSin}(c x)}\right )}{2 \sqrt {c x-1} \sqrt {c x+1}}-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \text {ArcSin}(c x)^2}{2 \sqrt {c x-1} \sqrt {c x+1}}+\frac {3 b d^2 e \sqrt {1-c^2 x^2} \text {ArcSin}(c x) \log \left (1-e^{2 i \text {ArcSin}(c x)}\right )}{\sqrt {c x-1} \sqrt {c x+1}}-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \log (x) \text {ArcSin}(c x)}{\sqrt {c x-1} \sqrt {c x+1}}-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {c x-1} \sqrt {c x+1}}+\frac {b e^3 x^3 \left (1-c^2 x^2\right )}{16 c \sqrt {c x-1} \sqrt {c x+1}}-\frac {3 b e^2 \sqrt {c^2 x^2-1} \left (8 c^2 d+e\right ) \tanh ^{-1}\left (\frac {c x}{\sqrt {c^2 x^2-1}}\right )}{32 c^4 \sqrt {c x-1} \sqrt {c x+1}}+\frac {3 b e^2 x \left (1-c^2 x^2\right ) \left (8 c^2 d+e\right )}{32 c^3 \sqrt {c x-1} \sqrt {c x+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 45
Rule 212
Rule 223
Rule 272
Rule 327
Rule 470
Rule 1598
Rule 1624
Rule 1821
Rule 2221
Rule 2317
Rule 2363
Rule 2365
Rule 2438
Rule 3798
Rule 4721
Rule 5958
Rule 6874
Rubi steps
\begin {align*} \int \frac {\left (d+e x^2\right )^3 \left (a+b \cosh ^{-1}(c x)\right )}{x^3} \, dx &=-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-(b c) \int \frac {-2 d^3+6 d e^2 x^4+e^3 x^6+12 d^2 e x^2 \log (x)}{4 x^2 \sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {1}{4} (b c) \int \frac {-2 d^3+6 d e^2 x^4+e^3 x^6+12 d^2 e x^2 \log (x)}{x^2 \sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {1}{4} (b c) \int \left (\frac {-2 d^3+6 d e^2 x^4+e^3 x^6}{x^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {12 d^2 e \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}\right ) \, dx\\ &=-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {1}{4} (b c) \int \frac {-2 d^3+6 d e^2 x^4+e^3 x^6}{x^2 \sqrt {-1+c x} \sqrt {1+c x}} \, dx-\left (3 b c d^2 e\right ) \int \frac {\log (x)}{\sqrt {-1+c x} \sqrt {1+c x}} \, dx\\ &=-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {\left (3 b c d^2 e \sqrt {1-c^2 x^2}\right ) \int \frac {\log (x)}{\sqrt {1-c^2 x^2}} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b c \sqrt {-1+c^2 x^2}\right ) \int \frac {-2 d^3+6 d e^2 x^4+e^3 x^6}{x^2 \sqrt {-1+c^2 x^2}} \, dx}{4 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 b d^2 e \sqrt {1-c^2 x^2}\right ) \int \frac {\sin ^{-1}(c x)}{x} \, dx}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b c \sqrt {-1+c^2 x^2}\right ) \int \frac {6 d e^2 x^3+e^3 x^5}{x \sqrt {-1+c^2 x^2}} \, dx}{4 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 b d^2 e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int x \cot (x) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (b c \sqrt {-1+c^2 x^2}\right ) \int \frac {x^2 \left (6 d e^2+e^3 x^2\right )}{\sqrt {-1+c^2 x^2}} \, dx}{4 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e^3 x^3 \left (1-c^2 x^2\right )}{16 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (6 i b d^2 e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}--\frac {\left (b \left (-24 c^2 d e^2-3 e^3\right ) \sqrt {-1+c^2 x^2}\right ) \int \frac {x^2}{\sqrt {-1+c^2 x^2}} \, dx}{16 c \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b e^2 \left (8 c^2 d+e\right ) x \left (1-c^2 x^2\right )}{32 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e^3 x^3 \left (1-c^2 x^2\right )}{16 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {\left (3 b d^2 e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{\sqrt {-1+c x} \sqrt {1+c x}}--\frac {\left (b \left (-24 c^2 d e^2-3 e^3\right ) \sqrt {-1+c^2 x^2}\right ) \int \frac {1}{\sqrt {-1+c^2 x^2}} \, dx}{32 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b e^2 \left (8 c^2 d+e\right ) x \left (1-c^2 x^2\right )}{32 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e^3 x^3 \left (1-c^2 x^2\right )}{16 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}+\frac {\left (3 i b d^2 e \sqrt {1-c^2 x^2}\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}}--\frac {\left (b \left (-24 c^2 d e^2-3 e^3\right ) \sqrt {-1+c^2 x^2}\right ) \text {Subst}\left (\int \frac {1}{1-c^2 x^2} \, dx,x,\frac {x}{\sqrt {-1+c^2 x^2}}\right )}{32 c^3 \sqrt {-1+c x} \sqrt {1+c x}}\\ &=-\frac {b c d^3 \left (1-c^2 x^2\right )}{2 x \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b e^2 \left (8 c^2 d+e\right ) x \left (1-c^2 x^2\right )}{32 c^3 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {b e^3 x^3 \left (1-c^2 x^2\right )}{16 c \sqrt {-1+c x} \sqrt {1+c x}}-\frac {d^3 \left (a+b \cosh ^{-1}(c x)\right )}{2 x^2}+\frac {3}{2} d e^2 x^2 \left (a+b \cosh ^{-1}(c x)\right )+\frac {1}{4} e^3 x^4 \left (a+b \cosh ^{-1}(c x)\right )-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x)^2}{2 \sqrt {-1+c x} \sqrt {1+c x}}-\frac {3 b e^2 \left (8 c^2 d+e\right ) \sqrt {-1+c^2 x^2} \tanh ^{-1}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{32 c^4 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log \left (1-e^{2 i \sin ^{-1}(c x)}\right )}{\sqrt {-1+c x} \sqrt {1+c x}}+3 d^2 e \left (a+b \cosh ^{-1}(c x)\right ) \log (x)-\frac {3 b d^2 e \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log (x)}{\sqrt {-1+c x} \sqrt {1+c x}}-\frac {3 i b d^2 e \sqrt {1-c^2 x^2} \text {Li}_2\left (e^{2 i \sin ^{-1}(c x)}\right )}{2 \sqrt {-1+c x} \sqrt {1+c x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.49, size = 278, normalized size = 0.58 \begin {gather*} \frac {1}{4} \left (-\frac {2 a d^3}{x^2}+6 a d e^2 x^2+a e^3 x^4+\frac {2 b d^3 \left (c x \sqrt {-1+c x} \sqrt {1+c x}-\cosh ^{-1}(c x)\right )}{x^2}+6 b d e^2 x^2 \cosh ^{-1}(c x)+b e^3 x^4 \cosh ^{-1}(c x)-\frac {3 b d e^2 \left (c x \sqrt {-1+c x} \sqrt {1+c x}+2 \tanh ^{-1}\left (\sqrt {\frac {-1+c x}{1+c x}}\right )\right )}{c^2}-\frac {b e^3 \left (c x \sqrt {\frac {-1+c x}{1+c x}} \left (3+3 c x+2 c^2 x^2+2 c^3 x^3\right )+6 \tanh ^{-1}\left (\sqrt {\frac {-1+c x}{1+c x}}\right )\right )}{8 c^4}+6 b d^2 e \cosh ^{-1}(c x) \left (\cosh ^{-1}(c x)+2 \log \left (1+e^{-2 \cosh ^{-1}(c x)}\right )\right )+12 a d^2 e \log (x)-6 b d^2 e \text {PolyLog}\left (2,-e^{-2 \cosh ^{-1}(c x)}\right )\right ) \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 2.49, size = 296, normalized size = 0.62 \[\frac {a \,e^{3} x^{4}}{4}+\frac {3 a d \,e^{2} x^{2}}{2}-\frac {a \,d^{3}}{2 x^{2}}+3 a \,d^{2} e \ln \left (c x \right )-\frac {3 b \,\mathrm {arccosh}\left (c x \right ) e^{3}}{32 c^{4}}+\frac {c b \,d^{3} \sqrt {c x +1}\, \sqrt {c x -1}}{2 x}+\frac {3 b \,\mathrm {arccosh}\left (c x \right ) x^{2} d \,e^{2}}{2}+\frac {3 b \,d^{2} e \polylog \left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}-\frac {3 b \sqrt {c x -1}\, \sqrt {c x +1}\, x d \,e^{2}}{4 c}+\frac {b \,\mathrm {arccosh}\left (c x \right ) e^{3} x^{4}}{4}+3 b \,d^{2} e \,\mathrm {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )-\frac {3 b \,d^{2} e \mathrm {arccosh}\left (c x \right )^{2}}{2}-\frac {b \,\mathrm {arccosh}\left (c x \right ) d^{3}}{2 x^{2}}-\frac {b \sqrt {c x -1}\, \sqrt {c x +1}\, x^{3} e^{3}}{16 c}-\frac {3 b \sqrt {c x -1}\, \sqrt {c x +1}\, x \,e^{3}}{32 c^{3}}-\frac {3 b \,\mathrm {arccosh}\left (c x \right ) d \,e^{2}}{4 c^{2}}-\frac {c^{2} d^{3} b}{2}\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \operatorname {acosh}{\left (c x \right )}\right ) \left (d + e x^{2}\right )^{3}}{x^{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (a+b\,\mathrm {acosh}\left (c\,x\right )\right )\,{\left (e\,x^2+d\right )}^3}{x^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________